package com.moliku.insurance.process.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.moliku.insurance.model.dto.wuTong.InsuranceCarDetail;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 梧桐车险详情
 * @Author: yws
 * @Date: 2021/3/31 14:43
 */
public interface InsuranceCarDetailMapper extends BaseMapper<InsuranceCarDetail> {

    /**
     * @Description: 根据投保单号查询
     * @Author: yws
     * @Date: 2021/3/31 15:39
     */
    InsuranceCarDetail selectCarDetailByProposalFormId(@Param("proposalFormId")String proposalFormId);

    /**
     * @Description: 根据保单号查询详细信息
     * @Author: yws
     * @Date: 2021/4/1 10:45
     */
    InsuranceCarDetail selectCarDetailByPolicyNo(@Param("policyNo")String policyNo);
}
